home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2670 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java
  4. Subject: Re: Relative Speed of Perl vs. Tcl vs. C
  5. Date: 22 Jan 1996 22:08:04 -0600
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4e1mv4$hr3@solutions.solon.com>
  8. References: <4dhuoj$cbe@shellx.best.com> <ukvim4pceu.fsf@linda.teleport.com> <4e06en$a6v@solutions.solon.com> <4e0af7$glv@csnews.cs.colorado.edu>
  9. NNTP-Posting-Host: solutions.solon.com
  10.  
  11. In article <4e0af7$glv@csnews.cs.colorado.edu>,
  12. Tom Christiansen  <tchrist@mox.perl.com> wrote:
  13. > [courtesy cc of this posting sent to cited author via email]
  14.  
  15. >In comp.lang.perl.misc, 
  16. >    seebs@solutions.solon.com (Peter Seebach) writes:
  17. >:>Tom Christiansen has had a long-standing bet that someone can't give
  18. >:>him a program in C that he can't make run no more than "e" times
  19. >:>slower (about 2.8 for you non-math-geeks) in Perl.  So far, no one's
  20. >:>done it.
  21.  
  22. I didn't write that.  Much though I appreciate being credited with
  23. Merlyn's work, he said that, and I responded.
  24.  
  25. >Well, fibonacci implemented recursively is slower than that.  
  26. >Matrix multiply is slower than that.  But most things are 
  27. >faster than the stdly quoted 10x, mostly because I can figure
  28. >out ways to get it to spend all its time in C.
  29.  
  30. Hmph.
  31.  
  32. >:But is it faster than GNU grep?  :)
  33.  
  34. >No, but it's much faster than std fgrep.
  35.  
  36. Uhm, not to be picky, but a distracted half-blind cat is significantl
  37. faster than standard fgrep.
  38.  
  39. (Depends, though; whose fgrep is "standard"?  Also, on what kind of
  40. match; I seem to recall that fgrep beat egrep on matching for any
  41. of 200+ fixed strings, in a historical implementation.)
  42.  
  43. >    The nice thing about standards is that there are so many of them to
  44. >    choose from.  -- Andrew S. Tanenbaum
  45.  
  46. I've been wondering who said that.  Thx.
  47.  
  48. -s
  49. [Courtesy cc: of this posting copied to /dev/null.]
  50. -- 
  51. Peter Seebach - seebs@solon.com - Copyright 1995 Peter Seebach.
  52. C/Unix proto-wizard -- C/Unix questions? Send mail for help.  No, really!
  53. Using trn?  Weird new newsgroup problem?  I know the fix!  Email me!
  54. The *other* C FAQ - ftp taniemarie.solon.com /pub/c/afq - Not A Flying Toy
  55.